<?php if (!defined('THINK_PATH')) exit();?><div class="yuList">

    <table class="change-order">
        <thead><tr>
            <th>拍单号</th>
            <?php if ($params['status'] == 2 || $params['status'] == 4): ?>
                <th>变更单号</th>
            <?php endif ?>
            <th>车辆编号</th>
            <th>争议原因</th>
            <th>检测报告</th>
            <th>车牌号</th>
            <th>评估师</th>
            <th>发起人</th>
            <?php if ($params['status'] == 1): ?>
                <th>创建时间</th>
            <?php elseif($params['status'] == 2): ?>
                <th>通过时间</th>
            <?php elseif($params['status'] == 3): ?>
                <th>驳回时间</th>
            <?php elseif($params['status'] == 4): ?>
                <th>作废时间</th>
            <?php endif ?>
            <th>操作</th>
        </tr></thead>
        <tbody>
        <?php if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
            <td><?php echo ($vo["order_no"]); ?></td>
            <?php if ($params['status'] == 2 || $params['status'] == 4): ?>
                <td><?php echo ($vo["modify_no"]); ?></td>
            <?php endif ?>
            <td><?php echo ($vo["sno"]); ?></td>
            <?php if ($vo['dispute_reason'] == 1): ?>
                <td>车况不符</td>
            <?php elseif($vo['dispute_reason'] == 2): ?>
                <td>过户超时</td>
            <?php endif ?>
            
            <td><a href="/Car/report/car_id/<?php echo ($vo["car_id"]); ?>" target="_blank"><?php echo ($vo["model"]); ?></a></td>
            <td><?php echo ($vo["car_plate_number"]); ?></td>
            <td><?php echo ($vo["real_name"]); ?></td>
            <?php if ($vo['od_type'] == 1): ?>
                <td><?php echo ($vo["contact_person"]); ?></td>
            <?php elseif ($vo['od_type'] == 2):?>
                <td><?php echo ($vo["seller_name"]); ?></td>
            <?php endif ?>
            <?php if ($params['status'] == 1): ?>
                <td><?php echo ($vo["createtime"]); ?></td>
            <?php elseif ($params['status'] == 2 || $params['status'] == 3): ?>
                <td><?php echo ($vo["audittime"]); ?></td>
            <?php elseif ($params['status'] == 4): ?>
                <td><?php echo ($vo["canceltime"]); ?></td>
            <?php endif ?>
            <?php if ($params['status'] == 1): ?>
                <td><a href="/Dispute/verify/did/<?php echo ($vo["did"]); ?>">审核</a></td>
            <?php else: ?>
                <td><a href="/Dispute/detail/did/<?php echo ($vo["did"]); ?>" target="_blank">查看</a></td>
            <?php endif ?>
            
        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
        </tbody>
    </table>
<div class="pageFaye"><div class="pager"><?php echo ($page); ?></div><div class="clear"></div></div>
</div>

<script>
    
</script>